
<!-- saved from url=(0080)http://zj.tzgt.net:88/GCJC/JCReport/QueryJCReport?Code=%E9%89%B4-%E9%99%95220018 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="./查询报告_files/iconfont.css" rel="stylesheet">
<link href="./查询报告_files/main.css" rel="stylesheet">
<link href="./查询报告_files/font.css" rel="stylesheet">
<script type="text/javascript" src="./查询报告_files/jquery191.js"></script>

<style type="text/css">
    input {
        outline: none;
    }
    input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
        color: lightgrey;
        letter-spacing: 2px;
        font-size: 16px;
    }

    input:-moz-placeholder, textarea:-moz-placeholder {
        color: lightgrey;
        font-size: 16px;
        letter-spacing: 2px;
    }

    input::-moz-placeholder, textarea::-moz-placeholder {
        color: lightgrey;
        font-size: 16px;
        letter-spacing: 2px;
    }

    input:-ms-input-placeholder, textarea:-ms-input-placeholder {
        color: lightgrey;
        font-size: 16px;
        letter-spacing: 2px;
    }

    body {
        text-align: center;
        /*background-image: url(/Images/ZJGT/QueryJCReport.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        text-align: center;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='QueryJCReport.png',sizingMethod='scale');*/
    }

    .by_main {
        width: 550px;
        height: 978px;
        margin: 0 auto;
        /* border: 1px dashed #000;*/
        background-image: url(/Images/ZJGT/QueryJCReport.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .by_detail {
        width: 80%;
        background: #fff;
        position: relative;
        margin-top: 55%;
        z-index: 1;
        /*height: 320px;*/
        /*margin: auto;*/
        display: inline-block;
        /*width: 666px;*/
        border-radius: 15px;
        text-align: center;
        font-family: YouYuan;
        font-weight: bold;
        -moz-box-shadow: 2px 2px 10px #909090;
        -webkit-box-shadow: 2px 2px 10px #909090;
        box-shadow: 2px 2px 10px #909090;
    }

    .bear-form {
        padding-bottom: 0;
    }
    .search-btn {
        margin-top: 40px;
        width: 268px;
        line-height: 33px;
        color: #fff;
        background: #2f9bff;
        text-align: center;
        font-size: 16px;
        float: left;
        font-weight: bold;
        cursor: pointer;
        margin:auto
    }
    .report_table {
        border-collapse: collapse;
        line-height: 28px;
        margin-top: 10px;
        text-align: center;
        display: inline-block;
        color: #7b7c7d;
        width: 90%;
        font-size: large;
        font-weight: bold;

    }
        .report_table tr {
            background: #f8f8f8;
            border-radius: 15px;
            height: 48px;
            border: 6px solid white;
        }
    .report_table tr td:first-child {
        width:100px;
    }
</style>
<meta name="viewport" content="width=device-width, initial-scale=0.75">


    <title>查询报告</title>
</head>
<body><div class="by_main" style="background-image: url(&quot;/Images/ZJGT/QueryJCReport.png&quot;);">
    <div class="by_detail">
        <a id="search" style="width:100%;line-height:80px;color:#fff;background:#558dd7;text-align:center;font-size:45px;float:left;border-radius:15px 15px 0 0;letter-spacing: 22px;">报告查询</a>
        
        <div style="margin-top:20px;display:inline-block;">
            <div class="bear-search bear-pull-left" id="divsearch" style="margin-top: 20px; display: none;">
                <div class="bear-search-form bear-inline-block" style="border:0.5px solid darkgrey">
                    <a href="http://zj.tzgt.net:88/GCJC/JCReport/QueryJCReport?Code=%E9%89%B4-%E9%99%95220018">
                        <img src="./查询报告_files/logo.png" style="height:33px">
                    </a>
                    <input type="text" id="code" class="search-input bear-inline-block" placeholder="请输入报告编号" value="" style="border:0px;text-align:center;font-size:15px;">
                    <a><img src="./查询报告_files/search.png" class="bear-icon-search"></a>
                </div>

                <div class="bear-search-form bear-inline-block" style="margin-top:20px">
                    <a id="search" class="search-btn" onclick="getReport2()">提 交 查 询</a>

                </div>
            </div>
            

            <table class="report_table" border="0" style="display: inline-block;">
                <tbody>
                    <tr>
                        <td>报告编号：</td>
                        <td id="report_code">鉴-陕230012</td>
                    </tr>
                    <tr>
                        <td>报告名称：</td>
                        <td id="report_name">西安市长安区兴隆街道明日之星幼儿园教学楼</td>
                    </tr>
                    <tr>
                        <td>报告类别：</td>
                        <td id="report_type">结构安全性鉴定</td>
                    </tr>
                    <tr>
                        <td>委托单位：</td>
                        <td id="report_company">西安市长安区兴隆街道明日之星幼儿园</td>
                    </tr>

                </tbody>
            </table>
        </div>
        <div class="bear-search-form bear-inline-block" style="margin-top:50px;margin-bottom:50px">
            <div id="message" style="height: 30px;width:80%;color: red;font-size:medium;margin:auto">经查询，此报告为我公司出具的技术成果。 若与项目信息事实不符，请致电以下查询电话： 0574-87248899 18967889191</div>
        </div>
        <div class="bear-search bear-pull-left" style="margin-top:20px;margin-bottom:20px;text-align:center;display:flex;justify-content:center">
            <a style="width:60%;line-height:50px;color:#fff;background:linear-gradient(to right, #5b86e5, #4e95c9);text-align:center;font-size:15px;float:left;border-radius:25px">
                查询电话：0574-87248899
            </a>
        </div>
    </div>
</div>
    <script type="text/javascript">
    $(function () {
        //var width_screen = screen.width;

        //if (width_screen<600)
        //{
        //    $(".body_wrap").css("width", "100%");
        //}
        var code = getUrlParam('Code')
        $("#code").val(code);
        var imgpath = "/Images/ZJGT/QueryJCReport.png";

        if (code != "" && code != null)
        {
            $("#divsearch").css("display", "none");
        }
        getReport($("#code").val());

        //$("#search").on("click", function () {
        //    alert($("#code").val());
        //    getReport( $("#code").val())
        //});

        $('#code').bind('keyup', function (event) {
            if (event.keyCode == "13") {
                //回车执行查询
                $('#search').click();
            }
        });
    });
    function getReport2() {
        var code = $("#code").val();
        getReport(code)
    }
    function getReport(code) {
        $.ajax({
            url: "/AjaxApi/JCProject/QueryJCProject?Code=" + code,
            success: function (res) {
                
                $(".report_table").css("display", "none");
                $("#message").html(res.Message);
                if (res.Result == 1) {
                    imgpath = res.Data["PCompany"].LogoPath;
                    $(".by_main").css("background-image", "url(" + imgpath + ")");
                    $(".report_table").css("display", "inline-block");
                    $("#report_code").html(res.Data["Code"]);
                    $("#report_name").html(res.Data["ReportName"]);
                    $("#report_type").html(res.Data["Category"].CNName);
                    $("#report_company").html(res.Data["JCProject"].Delegator);
                   
                }
            }
        });
    }

    function getUrlParam(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg);  //匹配目标参数
        if (r != null) return unescape(decodeURI(r[2])); return null; //返回参数值
    }

    </script>
</body></html>